-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: adding ConsensusHost
interface for custom self client/consensus state validation (backport #6055)
#6547
Conversation
Cherry-pick of 50d2a08 has failed:
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
waiting on #6563 |
…o mergify/bp/08-wasm/release/v0.2.x+ibc-go-v8.3.x-wasmvm-v2.0.x/pr-6055
This should be r4r now. Unassigning |
|
||
wasmConsensusState := &ConsensusState{ | ||
Data: bz, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this makes an assumption that the contract encodes consensus states with the wrapper envelope from 08-wasm. This is not currently mandated by 08-wasm, however it is mandated that the ClientState
is wrapped in validatePostExecutionClientState()
…o mergify/bp/08-wasm/release/v0.2.x+ibc-go-v8.3.x-wasmvm-v2.0.x/pr-6055
427bf7f
into
08-wasm/release/v0.2.x+ibc-go-v8.3.x-wasmvm-v2.0.x
Description
Co-authored-by: chatton github.qpeyb@simplelogin.fr
Adds the
ConsensusHost
interface type to 02-client as well as implementation for07-tendermint
and08-wasm
.closes: #5315
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
).godoc
comments.Files changed
in the GitHub PR explorer.SonarCloud Report
in the comment section below once CI passes.Summary by CodeRabbit
WasmConsensusHost
struct for wasm-wrapped consensus in the IBC package.This is an automatic backport of pull request #6055 done by [Mergify](https://mergify.com).